aboutsummaryrefslogtreecommitdiff
path: root/src/routes/projects/[projectId]/routine/[routineId]/+page.server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/projects/[projectId]/routine/[routineId]/+page.server.ts')
-rw-r--r--src/routes/projects/[projectId]/routine/[routineId]/+page.server.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/routes/projects/[projectId]/routine/[routineId]/+page.server.ts b/src/routes/projects/[projectId]/routine/[routineId]/+page.server.ts
index 891a7b6..cb14e0d 100644
--- a/src/routes/projects/[projectId]/routine/[routineId]/+page.server.ts
+++ b/src/routes/projects/[projectId]/routine/[routineId]/+page.server.ts
@@ -25,8 +25,7 @@ export const load: PageServerLoad = async ({ params }) => {
}
const completions = await loadCompletions(routineId);
- // An archived routine is frozen at its archive instant: state and chart
- // stop there instead of now.
+ // Archived routines are frozen at their archive instant, not now.
const at = routine.archivedAt
? Temporal.Instant.from(routine.archivedAt)
: Temporal.Now.instant();